﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SponsorInfo.aspx.cs" Inherits="SponsorshipWeb.personal.SponsorInfo" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <title>宾果高校</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/bootstrap-datetimepicker.min.css" />
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="../css/sweetalert.min.css" />
    <script src="../js/jquery-1.12.2.min.js"></script>
    <script src="../js/validator.min.js"></script>
    <script src="../js/common.js"></script>
    <script src="../js/bootstrap-datetimepicker.js"></script>
    <script src="../js/bootstrap-datetimepicker.zh-CN.js"></script>
    <script src="../js/sweetalert.min.js"></script>
</head>
<body>
    <div id="searchPage"></div>
    <div class="main">
        <div class="wrap">
            <div class="panel panel-default">
                <div class="panel-body">
                    <div class="form-wrap">
                        <form id="formValidate" runat="server" class="form-horizontal">
                            <div class="form-group">
                                <label for="">社团活动书</label>
                                <asp:DropDownList runat="server" class="form-control" ID="ddlBook">
                                    <asp:ListItem Selected="True">不选择社团活动书</asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <div class="form-group">
                                <label for="">已绑定社团</label>
                                <%--<select name="" class="form-control">--%>
                                <asp:DropDownList runat="server" class="form-control" ID="ddlAssoc">
                                    <asp:ListItem Selected="True">请选择已绑定社团</asp:ListItem>
                                </asp:DropDownList>
                                <%--</select>--%>
                            </div>
                            <div class="form-group">
                                <asp:TextBox runat="server" ID="txtName" data-error="请填写活动名称" class="form-control" placeholder="活动名称"></asp:TextBox>
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="" class="radio-inline">希望企业提供赞助金额</label>
                                <asp:RadioButtonList runat="server" ID="rblMoney" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                    <asp:ListItem Value="900000011">500-2500</asp:ListItem>
                                    <asp:ListItem Value="900000012">2501-5000</asp:ListItem>
                                    <asp:ListItem Value="900000013">5001-7500</asp:ListItem>
                                    <asp:ListItem Value="900000014">7501-10000</asp:ListItem>
                                    <asp:ListItem Value="900000015">10001-15000</asp:ListItem>
                                    <asp:ListItem Value="900000016">15001-20000</asp:ListItem>
                                    <asp:ListItem Value="900000017">20001-25000</asp:ListItem>
                                    <asp:ListItem Value="900000018">25001-30000</asp:ListItem>
                                    <asp:ListItem Value="900000019">30001-50000</asp:ListItem>
                                    <asp:ListItem Value="900000020">50001-70000</asp:ListItem>
                                    <asp:ListItem Value="900000021">70001-100000</asp:ListItem>
                                    <asp:ListItem Value="900000022">100001-150000</asp:ListItem>
                                    <asp:ListItem Value="900000023">150001-200000</asp:ListItem>
                                    <asp:ListItem Value="900000024">200000以上</asp:ListItem>
                                </asp:RadioButtonList>
                            </div>
                            <div class="form-group">
                                <label for="">活动时间：</label>
                                <asp:TextBox runat="server" ID="txtStartTime" data-error="请填写时间" Style="display: inline-block; width: 110px;" class="form-control datepick"></asp:TextBox><span> -</span>
                                <asp:TextBox runat="server" ID="txtEndTime" data-error="请填写时间" Style="display: inline-block; width: 110px;" class="form-control datepick"></asp:TextBox>
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label>活动简介</label>
                                <asp:TextBox runat="server" TextMode="MultiLine" data-error="请填写方案要求" ID="txtRemark" Rows="4" class="form-control"></asp:TextBox>
                            </div>
                            <div class="form-group">
                                <label>方案上传</label>
                                <asp:HyperLink runat="server" ID="hlBook" Target="_blank"></asp:HyperLink>
                                <br />
                                <label for="">上传方案：</label>
                                <asp:FileUpload ID="fuBook" class="form-control" data-error="请选择上传文件" runat="server" />
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="">活动紧急联系人和电话</label>
                                <asp:TextBox runat="server" ID="txtUserName" class="form-control" placeholder="活动紧急联系人和电话"></asp:TextBox>
                            </div>
                            <div class="form-group text-center">
                                <asp:Button runat="server" ID="btnNext" OnClick="btnNext_Click" class="btn btn-default" OnClientClick="return Go()" Text="提交" />
                                <%--<asp:HiddenField runat="server" ID="hfAssocID" />--%>
                                <asp:HiddenField runat="server" ID="hfMode" />
                                <asp:HiddenField runat="server" ID="hfUserID" />
                                <asp:HiddenField runat="server" ID="hfProjectID" />
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
<script>

    $(function () {
        $('.datepick').datetimepicker({
            format: 'yyyy-mm-dd',
            language: 'zh-CN',
            minView: 2
        });
    });

    $("#searchPage").load("header.html", function () {
        SetCss("Spon");
    });

    function Go() {
        if (!common.validateForm())
            return false;
    }

</script>

